package gameModel;

import java.awt.Color;

public class StdPlayer implements Player {
	
	// REQUETES
	
	private final String name;
	private final Color color;
	private final boolean cpu;
	
	// CONSTRUCTEUR
	
	public StdPlayer(String s, Color c, boolean cpu) {
		name = s;
		color = c;
		this.cpu = cpu;
	}
	
	// REQUETES

	@Override
	public String getName() {
		return name;
	}

	@Override
	public Color getColor() {
		return color;
	}

	@Override
	public boolean isCPU() {
		return cpu;
	}

}
